
package com.eclub.emotion.rootstone.server.deploy.bytecode;

import java.util.List;
import java.util.Map;

public class ContractInfo {

	private List<SessionBean> sessionBeanList;

	public ContractInfo() {

	}

	public ContractInfo(List<SessionBean> sessionBeanList) {
		super();
		this.sessionBeanList = sessionBeanList;
	}

	public void setSessionBeanList(List<SessionBean> sessionBeanList) {
		this.sessionBeanList = sessionBeanList;
	}

	public List<SessionBean> getSessionBeanList() {
		return sessionBeanList;
	}

	public static class SessionBean {
		private String interfaceName;
		private Map<String, String> instanceMap;
		private Class<?> clazz;

		public SessionBean() {

		}

		public SessionBean(String interfaceName,
				Map<String, String> instanceMap, Class<?> interfaceClass) {
			super();
			this.interfaceName = interfaceName;
			this.instanceMap = instanceMap;
			this.clazz = interfaceClass;
		}

		public String getInterfaceName() {
			return interfaceName;
		}

		public void setInterfaceName(String interfaceName) {
			this.interfaceName = interfaceName;
		}

		public void setInstanceMap(Map<String, String> instanceMap) {
			this.instanceMap = instanceMap;
		}

		public Map<String, String> getInstanceMap() {
			return instanceMap;
		}

		public void setInterfaceClass(Class<?> interfaceClass) {
			this.clazz = interfaceClass;
		}

		public Class<?> getInterfaceClass() {
			return clazz;
		}
	}
}